package ru.acme.lab15;

import ru.acme.lab15.domain.account.Account;
import ru.acme.lab15.domain.account.CheckingAccount;
import ru.acme.lab15.domain.account.SavingAccount;
import ru.acme.lab15.domain.bank.Bank;
import ru.acme.lab15.domain.client.Client;
import ru.acme.lab15.domain.client.ClientRegistrationListener;
import ru.acme.lab15.domain.client.Gender;
import ru.acme.lab15.service.BankService;
import ru.acme.lab15.service.EmailService;


public class BankApplication {
	
	public static void main(String[] argv) throws InterruptedException {
		EmailService emailService = new EmailService();
		emailService.sendEmail(null, "0");
		Thread.sleep(300);
		emailService.sendEmail(null, "1");
		emailService.sendEmail(null, "2");
		Thread.sleep(2000);
		emailService.sendEmail(null, "3");
		emailService.close();
	}

}
